import request from '@/utils/http.js'
interface User{
    account:string,
    password:string
}
const loginAPI = (user:User)=>{
    console.log(user)
    return request({
        url:'/login',
        method:'POST',
        data:user
    })
}

export {
    loginAPI
}